<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <style>
        body,
        li,
        a,
        ul {
            margin: 0;
            padding: 0;
        }


        body{
             background-color: #f5f5f5;
        }


        .box {
            width: 850px;
            height: 60px;
            position: absolute;
            bottom: 0px;
            left: 25%;

        }

        ul li {
            list-style: none;
        }

        a {
            text-decoration: none;
            color: #333;
            float: left;
            text-align: center;
            box-sizing: border-box;
        }




        li>.page {
            width: 50px;
            height: 50px;
            background-color: #fff;
            border-radius: 6px;
            padding-top: 10px;
            font-size: 20px;
            margin-left: 20px;
        }

        li>.page:hover {
            background-color: blue;
            color: #fff;
        }

        ul>li>.next {
            width: 100px;
        }
    </style>

</head>

<body>

    <ul class="box">
        <li class="item"><a class="page" href="#">1</a></li>
        <li class="item"><a class="page" href="#">2</a></li>
        <li class="item"><a class="page" href="#">3</a></li>
        <li class="item"><a class="page" href="#">4</a></li>
        <li class="item"><a class="page" href="#">5</a></li>
        <li class="item"><a class="page" href="#">6</a></li>
        <li class="item"><a class="page" href="#">7</a></li>
        <li class="item"><a class="page" href="#">8</a></li>
        <li class="item"><a class="page" href="#">9</a></li>
        <li class="item"><a class="page" href="#">10</a></li>
        <li class="item"><a class="page next" href="#">下一页&gt</a></li>
    </ul>

</body>

</html>